package com.example.demoface.domian;



 // Lombok 注解，自动生成 getter/setter、toString 等方法

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("user")
public class User {

    /**
     * 用户 ID
     */
    @TableId
    private String userId;

    /**
     * 用户名
     */

    private String userName;

    /**
     * 用户头像路径
     */
    private String img;


    @TableField(exist = false)
    private Dept dept;

    private String passWd;

    /**
     * 部门 ID
     */
    private Integer deptId;

    /**
     * 联系电话
     */
    private String tele;

     public String getUserId() {
         return userId;
     }

     public void setUserId(String userId) {
         this.userId = userId;
     }

     public String getUserName() {
         return userName;
     }

     public void setUserName(String userName) {
         this.userName = userName;
     }

     public String getImg() {
         return img;
     }

     public void setImg(String img) {
         this.img = img;
     }

     public Integer getDeptId() {
         return deptId;
     }

     public void setDeptId(Integer deptId) {
         this.deptId = deptId;
     }

     public String getTele() {
         return tele;
     }

     public void setTele(String tele) {
         this.tele = tele;
     }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public String getPassWd() {
        return passWd;
    }

    public void setPassWd(String passWd) {
        this.passWd = passWd;
    }
}
